package com.ljr.transation;

/**
 * @author ljr
 * @version 1.0
 * @description: TODO
 * @date 2022/1/5 21:26
 */
public class RedisDistributedLock {

    private static RedisDistributedLock INSTANCE = new RedisDistributedLock();

    private RedisDistributedLock() {
    }

    public static RedisDistributedLock getSingletonIntance(){
        return INSTANCE;
    }

    public boolean lockTransction(String id){
        return true;
    }

    public void unlockTransction(String id){

    }

}
